package org.jeecg.modules.medication_order_detail.service.impl;

import org.jeecg.modules.medication_order.entity.MedicationOrderDetail;
import org.jeecg.modules.medication_order_detail.mapper.MedicationOrderDetailMapper;
import org.jeecg.modules.medication_order_detail.service.IMedicationOrderDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 药房订单详情
 * @Author: jeecg-boot
 * @Date:   2025-06-20
 * @Version: V1.0
 */
@Service
public class MedicationOrderDetailServiceImpl extends ServiceImpl<MedicationOrderDetailMapper, MedicationOrderDetail> implements IMedicationOrderDetailService {
    @Autowired
    private MedicationOrderDetailMapper medicationOrderDetailMapper;

    @Override
    public List<MedicationOrderDetail> selectByMainId(String mainId) {
        return medicationOrderDetailMapper.selectByMainId(mainId);
    }
}
